gdk/broadway/toarray.pl: Don't hard-code the path of perl
authorTing-Wei Lan <lantw@src.gnome.org>
Sun, 24 Dec 2017 16:24:04 +0000 (00:24 +0800)
committerTing-Wei Lan <lantw@src.gnome.org>
Mon, 25 Dec 2017 04:25:54 +0000 (12:25 +0800)
https://bugzilla.gnome.org/show_bug.cgi?id=791927

gdk/broadway/toarray.pl

index ac8b5ff3b76a9a2253e863fa444c3d9962df78b0..642ea8a433bb41019faf431f9e81f1988c741887 100755 (executable)
@@ -1,4 +1,6 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
+
+use warnings;
 
 my $ARRAYNAME = $ARGV[0];
 my $first = 0;